// the following file written by Fransiska Putri Wina to solve problem A.1
#ifndef INSTRUCTIONS_H_                                                         
#define INSTRUCTIONS_H_                                                         
                                                                                
#include <string>                                                               
#include <iostream>                                                             
                                                                                
using namespace std;                                                            
                                                                                                        
struct Instructions {                                                           
public:                                                                             
        // constructors                                                             
        Instructions (string a)                                                 
                : instr(a) {}                                                           
                                                                                                        
        void displaym() const {                                                 
                cout << instr << endl;                                          
        }        
        //the following code written by Fransiska Putri Wina - D.1
		string get_instr() const{
			return instr;
		}
		//end of code by FPW, D.1
		
private:                                                                                        
   //constants                                                                          
                                                                                                
   // private data                                                                      
        string instr;                                                                   
};                                                                                                      
                                                                                                        
#endif //INSTRUCTIONS_H_                
//end of file instructions.h by FPW, A.1